package com.huarui.payInvoice.model;

import java.math.BigDecimal;
import java.util.Date;

import org.ewaf.framework.model.IDataObject;

public class PayInvoice implements IDataObject{
	public static final Integer STATUS_DRAFT=0;
	public static final Integer STATUS_FORMAL=1;
	private static final long serialVersionUID = 1L;
	private Integer id;
	private Integer companyId;  //公司ID
	private Integer customerId;  //供应商ID parnterId
	private String codeOfBuyer;  //单据号
	private String codeOfSeller; //卖方收据号
	private Integer invoiceType;  //收据类型(0 税票 1 普通发票 2 收据 3 无发票)Dictoinary表里查询
	private BigDecimal amount;  //付款金额
	private Integer status;     //状态(0 草稿 1 已支付)
	private Integer ActualPayer;  //实际支付人
	private Date gmtActualPay;   //实际支付日期
	private Integer creator;      //建单人
	private Date gmtCreate;       //建单时间
	private Integer payer;        //支付人
	private Date gmtPay;          //支付时间
	private Integer workFlowId;   //流程ID
	private Integer currentorId;  //当前处理人ID
	@Override
	public Integer getId() {
		// TODO Auto-generated method stub
		return id;
	}
	public Integer getCompanyId() {
		return companyId;
	}
	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}
	public Integer getCustomerId() {
		return customerId;
	}
	public void setCustomerId(Integer customerId) {
		this.customerId = customerId;
	}
	public String getCodeOfBuyer() {
		return codeOfBuyer;
	}
	public void setCodeOfBuyer(String codeOfBuyer) {
		this.codeOfBuyer = codeOfBuyer;
	}
	public String getCodeOfSeller() {
		return codeOfSeller;
	}
	public void setCodeOfSeller(String codeOfSeller) {
		this.codeOfSeller = codeOfSeller;
	}
	public Integer getInvoiceType() {
		return invoiceType;
	}
	public void setInvoiceType(Integer invoiceType) {
		this.invoiceType = invoiceType;
	}
	public BigDecimal getAmount() {
		return amount;
	}
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getActualPayer() {
		return ActualPayer;
	}
	public void setActualPayer(Integer actualPayer) {
		ActualPayer = actualPayer;
	}
	public Date getGmtActualPay() {
		return gmtActualPay;
	}
	public void setGmtActualPay(Date gmtActualPay) {
		this.gmtActualPay = gmtActualPay;
	}
	public Integer getCreator() {
		return creator;
	}
	public void setCreator(Integer creator) {
		this.creator = creator;
	}
	public Date getGmtCreate() {
		return gmtCreate;
	}
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}
	public Integer getPayer() {
		return payer;
	}
	public void setPayer(Integer payer) {
		this.payer = payer;
	}
	public Date getGmtPay() {
		return gmtPay;
	}
	public void setGmtPay(Date gmtPay) {
		this.gmtPay = gmtPay;
	}
	public Integer getWorkFlowId() {
		return workFlowId;
	}
	public void setWorkFlowId(Integer workFlowId) {
		this.workFlowId = workFlowId;
	}
	public Integer getCurrentorId() {
		return currentorId;
	}
	public void setCurrentorId(Integer currentorId) {
		this.currentorId = currentorId;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	
}
